<?php

namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use App\Models\Recruit;
use App\Models\User;
use App\Models\UserVerifyInfo;
use Database\Factories\UserVerifyInfoFactory;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        // 使用 Factory 方式填充
         // User::factory(20)->create();
        UserVerifyInfo::factory(10)->create();

        // \App\Models\User::factory()->create([
        //     'name' => 'Test User',
        //     'email' => 'test@example.com',
        // ]);

        // Recruit::factory(2)->create();

        // 使用 Seeder 方式填充
        // $this->call(UserSeeder::class);
        // $this->call(RecruitSeeder::class);

    }
}
